package my.spring.transaction;

import my.spring.transaction.definition.TransactionDefinition;
import my.spring.transaction.status.TransactionStatus;

/**
 * @author fengbo
 * @date 2018/7/4
 */
public interface PlatformTransactionManager {

    TransactionStatus getTransaction(TransactionDefinition definition);

    void commit(TransactionStatus status);

    void rollback(TransactionStatus status);
}
